<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <h3>detail</h3>

  <script>
    // window.onmessage = function(e) {
    //   // console.log('detail:', e);
    //   let {name, age} = e.data;
    //   e.source.postMessage(`${name}今年${++age}岁`, e.origin)
    // }

    console.log(num);
    
  </script>
</body>
</html>